home *** CD-ROM | disk | FTP | other *** search
- unit RASEditPhoneBookForm;
-
- interface
-
- uses
- Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
- StdCtrls, ExtCtrls;
-
- type
- TEditPhoneBook = class(TForm)
- Label1: TLabel;
- UserName: TEdit;
- Label2: TLabel;
- PhoneNumber: TEdit;
- Label3: TLabel;
- PassWord: TEdit;
- OKButton: TButton;
- CencelButton: TButton;
- Bevel1: TBevel;
- procedure UserNameChange(Sender: TObject);
- private
- { Private declarations }
- public
- { Public declarations }
- end;
-
- implementation
-
- {$R *.DFM}
-
- procedure TEditPhoneBook.UserNameChange(Sender: TObject);
- begin
- OKButton.Enabled := UserName.Text <> '';
- end;
-
- end.
-